//
//  GQHomeSearchBar.m
//  GuQu
//
//  Created by HELIUM STAR on 15/5/11.
//  Copyright (c) 2015年 HELIUM STAR. All rights reserved.
//

#import "GQHomeSearchBar.h"

@implementation GQHomeSearchBar

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        self.font= [UIFont systemFontOfSize:13];
        self.backgroundColor = [UIColor whiteColor];
        UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"home_search_use"]];
        imageView.width = 25;
        imageView.contentMode = UIViewContentModeCenter;
        self.leftView = imageView;
        self.leftViewMode = UITextFieldViewModeAlways;
        self.layer.masksToBounds = YES;
        self.layer.cornerRadius = 5;
    }
    return self;
}


@end
